package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import lombok.Data;

/**
 * 商品明细
 * @TableName tb_order_detail
 */
@TableName(value ="tb_order_detail")
@Data
public class TbOrderDetail implements Serializable {
    /**
     * 明细id
     */
    @TableId(type = IdType.AUTO)
    private Integer detailId;

    /**
     * 订单id
     */
    private Integer orderId;

    /**
     * 商品id
     */
    private Integer prodId;

    /**
     * 商品价格
     */
    private BigDecimal prodPrice;

    /**
     * 购买数量
     */
    private Integer prodNum;


    @TableField(exist = false)
    private List<String> imageList;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}